﻿namespace OrderingFoot.Core
{
    /// <summary>
    /// 分表信息
    /// </summary>
    public interface ISplitTableInfo
    {
        /// <summary>
        /// 表名前缀
        /// </summary>
        public string Prefix { get; set; }

        /// <summary>
        /// 表名后缀
        /// </summary>
        public string Suffix { get; set; }
    }

    /// <summary>
    /// 分表信息
    /// </summary>
    public class BaseSplitTableInfo : ISplitTableInfo
    {
        /// <summary>
        /// 表名前缀
        /// </summary>
        public string Prefix { get; set; }

        /// <summary>
        /// 表名后缀
        /// </summary>
        public string Suffix { get; set; }
    }
}
